home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 August: Tool Chest / Dev.CD Aug 95 TC / Dev.CD Aug 95 TC.toast / Sample Code / AOCE Sample Code / Messaging Service Access Module / Internet PMSAM / Internet PMSAM source / parser.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-23  |  530 b   |  15 lines  |  [TEXT/MPS ]

  1. #pragma once
  2. #define __GW_PARSER__
  3.  
  4. short CountLines(char *text);
  5. short CountCRLines(char *text);
  6. void GetWord(char **word,char **text);
  7. void GetField(char **word,char **text,char delimiter,short *dataLength);
  8. void GetLine(char **line,char **text);
  9. void GetNumber(long *number,char **text);
  10. void StripLF(char *text,unsigned long *textLength);
  11. void CopyWord(char *dest,char *sourceStream);
  12. void CopyLine(char *dest,char *sourceStream);
  13. void CopyAndUnfoldLine(char *dest,char *sourceStream);
  14. OSErr AddLF(char *preLF,char **postLF);
  15.